package com.dha.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="hocPhan")
public class HocPhanEntity {
	@Id
	private String maHocPhan;
	private String tenHocPhan;
	private int soTinChi;
	@Column(name="maHocPhan")
	public String getMaHocPhan() {
		return maHocPhan;
	}
	public void setMaHocPhan(String maHocPhan) {
		this.maHocPhan = maHocPhan;
	}
	@Column(name="tenHocPhan")
	public String getTenHocPhan() {
		return tenHocPhan;
	}
	public void setTenHocPhan(String tenHocPhan) {
		this.tenHocPhan = tenHocPhan;
	}
	@Column(name="soTinChi")
	public int getSoTinChi() {
		return soTinChi;
	}
	public void setSoTinChi(int soTinChi) {
		this.soTinChi = soTinChi;
	}
	public HocPhanEntity() {
		super();
	}
	public HocPhanEntity(String maHocPhan, String tenHocPhan, int soTinChi) {
		super();
		this.maHocPhan = maHocPhan;
		this.tenHocPhan = tenHocPhan;
		this.soTinChi = soTinChi;
	}
	
	
}
